//: CustomerBean.java 27.09.2008 13:16:46Z apt $
package com.devunion.salon.web.bean;

import com.devunion.salon.persistence.Customer;

/**
 * @author Timoshenko Alexander
 */
public class CustomerBean {
    private Long id;     
    private String firstName;
    private String lastName;
    private String email;
    private String phone;
    private String cellPhone;

    public CustomerBean() {
    }

    public CustomerBean(Customer customer) {
        this.id = customer.getId();
        this.firstName = customer.getFirstName();
        this.lastName = customer.getLastName();
        this.phone = customer.getPhone();
        this.cellPhone = customer.getCellPhone();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCellPhone() {
        return cellPhone;
    }

    public void setCellPhone(String cellPhone) {
        this.cellPhone = cellPhone;
    }
}
